package com.bsoft.gol.hcs.clinical.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import hcn.base.TreatmentAcupoints;

public abstract class TreatmentAcupointsDAO extends HibernateSupportDelegateDAO<TreatmentAcupoints> {

    @DAOMethod
    public abstract TreatmentAcupoints getByTreatmentId(String treatmentId);

    @DAOMethod(sql="delete from TreatmentAcupoints where treatmentId = :treatmentId")
    public abstract void deleteByTreatmentId(@DAOParam("treatmentId") String treatmentId);

}
